package com.sright.bcard.mini.web.controller;

import com.sright.bcard.common.share.service.TranscodeService;
import com.sright.bcard.common.share.service.WxappService;
import com.sright.bcard.content.share.service.CardService;
import com.sright.bcard.mini.web.constant.WebUrl;
import com.sright.common.response.SrightResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * demo名片controller
 */
@RestController
@RequestMapping()
public class DemoCardController {

    @Autowired
    private CardService cardService;

    @Autowired
    WxappService wxappService;

    @Autowired
    TranscodeService transcodeService;

    @GetMapping(WebUrl.DemoCard1)
    public SrightResponse demoCard1() {
        return cardService.demoCard1();
    }

    @GetMapping(WebUrl.DemoCard2)
    public SrightResponse demoCard2() {
        return cardService.demoCard2();
    }

    @GetMapping(WebUrl.DemoCard3)
    public SrightResponse demoCard3() {
        return cardService.demoCard3();
    }
}
